﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MenuEmpresaEndereco.aspx.cs"
    Inherits="VemTransporte.Views.UsuarioEmpresa.MenuEmpresaEndereco" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script language="javascript">

        function FmascCEP(ConteudoCampo) {

            if (((event.keyCode) > 47) && ((event.keyCode) < 58)) {

                NumDig = ConteudoCampo.value;

                TamDig = NumDig.length;

                if (TamDig == 5)

                    ConteudoCampo.value = NumDig.substr(0, 5) + "-";

                return (true);
            }

            else return (false)
        }
    </script>
    <title>..:: STI ::..</title>
    <link href="../../Content/Estilo/stylo.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/Site.css" rel="stylesheet" type="text/css" />
    <link href="../../Content/menuEmpresa_files/css3menu1/style.css" rel="stylesheet"
        type="text/css" />
</head>
<body id="corpo2">
    <div id="topo">
        <asp:HyperLink ID="HyperLink8" runat="server" NavigateUrl="~/Views/UsuarioEmpresa/MenuEmpresa.aspx">
        <div id="logoTopo"></div>
        </asp:HyperLink>
        <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Views/UsuarioEmpresa/LoginEmpresa.aspx">
        <div id="sair"></div>
        </asp:HyperLink>
    </div>
    <br />
    <table>
        <tr>
            <td>
                <table>
                    <tr>
                        <td>
                            <asp:Image ID="ImageEmpresaLogoTipo" runat="server" Height="138px" Width="137px"
                                ImageUrl="~/Content/Imagens/default_logo.jpg" />
                            <br />
                            <asp:HyperLink ID="HyperLink9" runat="server" NavigateUrl="MenuEmpresaLogoTipo.aspx">Alterar Logotipo</asp:HyperLink>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text="Bem vindo," Font-Bold="True" ForeColor="#000099"></asp:Label>
                            <br />
                            <asp:Label ID="LabelNomeEmpresa" runat="server" Text="Label" Font-Bold="True" ForeColor="#000099"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <ul id="css3menu1" runat="server" class="topmenu">
                                <li runat="server" class="topfirst" id="liMenuEmpresaCadastro"><a href="MenuEmpresaCadastrar.aspx"
                                    title="Alterar Dados Empresa" style="width: 206px;">Alterar Dados Empresa</a></li>
                                <li runat="server" id="liMenuCadastroInicialEmpresa"><a href="CadastroInicialEmpresa.aspx"
                                    title="Cadastro de Empresa" style="width: 206px;">Cadastrar Empresa</a></li>
                                <li runat="server" id="liMenuAlterarEndEmpresa"><a href="#" title="Alterar Endereço"
                                    style="width: 206px; background-color: #3a1300; border-color: #C0C0C0; border-style: solid;
                                    font: bold 14px Trebuchet MS; color: #ffffff; text-decoration: none; background-position: 0 100px;">
                                    Alterar Endereço</a></li>
                                <li runat="server" id="liMenuCadastrarTelefones"><a href="MenuEmpresaTelefones.aspx"
                                    title="Cadastrar Telefones" style="width: 206px;">Cadastrar Telefones</a></li>
                                <li runat="server" id="liMenuAlterarSenhaEmpresa"><a href="MenuEmpresaAlterarSenha.aspx"
                                    title="Alterar Senha" style="width: 206px;">Alterar Senha</a></li>
                                <li runat="server" id="liMenuAlterarLinhaEmpresa"><a href="MenuEmpresaLinha.aspx"
                                    title="Cadastro de Linhas" style="width: 206px;">Cadastro de Linhas</a></li>
                                <li runat="server" id="liMenuCadastroParadaEmpresa"><a href="MenuEmpresaParada.aspx"
                                    title="Cadastro de Paradas" style="width: 206px;">Cadastro de Paradas</a></li>
                                <li runat="server" id="liMenuHoraLinhaEmpresa"><a href="MenuEmpresaHorario.aspx"
                                    title="Cadastro de Horarios das Linhas" style="width: 206px;">Cadastro de Horarios
                                    das Linhas</a></li>
                                <li runat="server" class="toplast" id="liMenuEmpresaVeiculo"><a href="MenuEmpresaCadastroVeiculo.aspx"
                                    title="Cadastro Veiculos" style="width: 206px;">Cadastro Veiculos</a></li>
                                <li runat="server" id="liMenuEmpresaLinhaParada"><a href="MenuEmpresaLinhaParada.aspx"
                                    title="Cadastro de Linha/Parada" style="width: 206px;">Cadastro de Linha/Parada</a></li>

                            </ul>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="width: 10%">
            </td>
            <td style="width: 90%">
                <form id="form1" runat="server">
                <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
                <asp:UpdateProgress ID="UpdateProgress2" runat="server" AssociatedUpdatePanelID="UpdatePanel1">
                    <ProgressTemplate>
                        &nbsp;
                        <asp:Image ID="ImageProgress2" runat="server" ImageUrl="~/Content/gifs/wait_gif.gif" />
                    </ProgressTemplate>
                </asp:UpdateProgress>
                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                    <ContentTemplate>
                        <table style="width: 100%;">
                            <tr>
                                <td class="style2">
                                    <asp:Label ID="LabelCEP" runat="server" AssociatedControlID="TextBoxCep" Font-Names="verdana"
                                        Font-Size="12px" ForeColor="#203360">CEP:</asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBoxCep" runat="server" onkeypress="if (!(FmascCEP(this))) return false;"
                                        CssClass="textEntry" MaxLength="9" Width="163px" Height="30px" BorderColor="#9aafca"
                                        Font-Size="14px"></asp:TextBox>
                                    &nbsp;<asp:Button ID="ButtonBuscaCEP" runat="server" OnClick="ButtonBuscaCEP_Click"
                                        BackColor="#6ea954" BorderColor="#6ea954" ForeColor="White" Height="30px" Width="100px"
                                        Text="Buscar" />
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <asp:Label ID="LabelEndereco" runat="server" AssociatedControlID="TextBoxEndereco"
                                        Font-Names="verdana" Font-Size="12px" ForeColor="#203360">Endereço:</asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBoxEndereco" runat="server" CssClass="textEntry" ReadOnly="True"
                                        Height="30px" BorderColor="#9aafca" Font-Size="14px" Width="586px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <asp:Label ID="LabelBairro" runat="server" AssociatedControlID="TextBoxBairro" Font-Names="verdana"
                                        Font-Size="12px" ForeColor="#203360">Bairro:</asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBoxBairro" runat="server" CssClass="textEntry" ReadOnly="True"
                                        Height="30px" BorderColor="#9aafca" Font-Size="14px" Width="323px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <asp:Label ID="LabelCidade" runat="server" AssociatedControlID="TextBoxCidade" Font-Names="verdana"
                                        Font-Size="12px" ForeColor="#203360">Cidade:</asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBoxCidade" runat="server" CssClass="textEntry" ReadOnly="True"
                                        Height="30px" BorderColor="#9aafca" Font-Size="14px" Width="323px"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td class="style2">
                                    <asp:Label ID="LabelEstado" runat="server" AssociatedControlID="TextBoxEstado" Font-Names="verdana"
                                        Font-Size="12px" ForeColor="#203360">Estado:</asp:Label>
                                </td>
                                <td class="style3">
                                    <asp:TextBox ID="TextBoxEstado" runat="server" CssClass="textEntry" ReadOnly="True"
                                        Height="30px" BorderColor="#9aafca" Font-Size="14px" Width="133px"></asp:TextBox>
                                </td>
                            </tr>
                            </tr>
                            <tr>
                                <td colspan="2">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:Button ID="Button1" runat="server" BackColor="#6ea954" BorderColor="#6ea954"
                                        ForeColor="White" Height="30px" OnClick="Button1_Click" Text="Confirmar" Width="100px" />
                                </td>
                            </tr>
                        </table>
                        </p>
                    </ContentTemplate>
                </asp:UpdatePanel>
                </form>
            </td>
        </tr>
    </table>
    <hr style="color: #ccc" />
    <center style="color: #999; font-size: 12px;">
        Vem Tranporte - Sistema de Trasnporte Inteligente - 2011
    </center>
    <br />
</body>
</html>
